package com.inews.business.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 批处理表.
 */ 
@Entity 
@Table(name="tbl_batch_log")
public class TblBatchLog extends TblBasePo{
	
	/** 编号. */
	private Long id;
	
	/** 批处理时间（对于历史表中的batchDate）. */
	private String batchDate;
	
	/** 批处理类型（1.普通人员 2.退休人员）. */
	private String batchType;

	@Id@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="id", length=10)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name="batch_date", length=8)
	public String getBatchDate() {
		return batchDate;
	}

	public void setBatchDate(String batchDate) {
		this.batchDate = batchDate;
	}

	@Column(name="batch_type", length=2)
	public String getBatchType() {
		return batchType;
	}

	public void setBatchType(String batchType) {
		this.batchType = batchType;
	}
	
}
